using MediatR;
using Medical.ReadApi.Dto;

namespace Medical.ReadApi.Appcontext.Command
{
	/// <summary>
	/// 用户登录查询
	/// </summary>
	public class LoginUserQuery : IRequest<LoginResponseDto>
	{
		/// <summary>
		/// 用户名（登录名，必填）
		/// </summary>
		public string UserName { get; set; } = string.Empty;
		
		/// <summary>
		/// 密码（明文，必填）
		/// </summary>
		public string Password { get; set; } = string.Empty;
		
		/// <summary>
		/// 登录IP（可选，由系统自动填充）
		/// </summary>
		public string? LoginIp { get; set; }
	}
}

